package com.party.core.dao.write.gift;

import com.party.core.dao.write.BaseWriteDao;
import com.party.core.model.gift.GiftCoupon;
import org.springframework.stereotype.Repository;

/**
 * @author：yifeng
 * @description： 礼包和票券
 * @date：Created in  2017/11/27 下午 18:54
 **/
@Repository
public interface GiftCouponWriteDao extends BaseWriteDao<GiftCoupon> {
    void deleteByGiftId(String giftId);

    void deleteByUnique(GiftCoupon giftCoupon);
}
